home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / CED / cedscripts / Calc.ced < prev    next >
Text File  |  1993-07-07  |  610b  |  27 lines

  1. /*-----calc.ced------
  2. ** calc.ced                                    by William Henning
  3. **
  4. ** solve selected text, append result.
  5. **
  6. ** To use this script, type in a mathematical equation, mark one
  7. ** end with 'Mark' and position the cursor at the other end.
  8. ** Then invoke this script with 'Send DOS/ARexx command'.
  9. ** The result of the equation will be inserted into your file.
  10. ** This is similar to the solve.ced script.
  11. **
  12. ** This script requires CygnusEd Professional v3.5 (or later) to run.
  13. **
  14.  */
  15.  
  16. OPTIONS RESULTS
  17.  
  18. 'COPY BLOCK'
  19.  
  20. STATUS BLOCKBUFFER
  21.  
  22. EXPR = 'OUT = ' RESULT
  23.  
  24. INTERPRET EXPR
  25.  
  26. TEXT ' = 'OUT
  27.